<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
     <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>主题列表</title>
</head>
<body>
<%@ include file="/common/islogin.jsp" %>
    <%@ include file="/common/header.jsp" %>
    <table width="80%" border="1" align="center">
       <tr align="center" bgcolor="#00CCFF">
          <td width="33%">
             <a href="forumcreate.jsp">新增论坛</a>
          </td>
          <td width="34%">
             <a href="adminindex.jsp">首页&nbsp;</a>
          </td>
          <td width="33%">
             <a href="adminlogoff">注销登陆&nbsp;</a>
          </td>
       </tr>
       <tr align="center">
          <td colspan="3">论坛管理</td>
       </tr>
       <tr align="center" bgcolor="#00CCFF">
          <td>论坛名</td>
          <td>更改版主</td>
          <td>删除论坛</td>
       </tr>
       <c:forEach items="${forums}" var="forum">
          <tr align="center">
             <td>${forum.forumname }</td>
             <td><a href="forumedit?forumid=${forum.id }&forumname=${forum.forumname}">编辑</a></td>
             <td><a href="forumdelete?forumid=${forum.id }">删除</a></td>
          </tr>
       </c:forEach>
    </table>
     <%@ include file="/common/footer.jsp" %>
</body>
</html>